package com.soft.line.service;

import com.github.pagehelper.PageInfo;
import com.soft.line.entity.ContractInfo;
import com.soft.line.entity.MenuInfo;

import java.util.List;
import java.util.Map;

/**
 * @author wu.xueqiao on 2020/5/21.
 * @version 0.1
 */
public interface ContractInfoService {


    public PageInfo<ContractInfo> getAllAboutContracts(Map<String,Object> map);

    public PageInfo<ContractInfo> getAllContracts(Map<String,Object> map);

    public void delete(Map<String,Object> map);

    public void add(ContractInfo contractInfo);

    public void insertList(List<ContractInfo> list);

    public void update(ContractInfo contractInfo);

    public int countContractByIdAndName(Integer id,String contractName);

    public List<ContractInfo> getAllCNByIDList(Map<String, Object> map) ;
}
